<!-- wwwroot/login.html -->
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>登录</title>
    <link rel="stylesheet" href="/css/style.css"> <!-- 引用CSS -->
</head>
<body>
    <div class="login-box">
        <h1>用户登录</h1>
        <!-- 表单提交到后端的POST /login 路由 -->
        <form action="/login" method="post">
            <input type="text" name="username" placeholder="用户名" required><br>
            <input type="password" name="password" placeholder="密码" required><br>
            <button type="submit">登录</button>
        </form>
    </div>
    <script src="/js/main.js"></script> <!-- 引用JS -->
</body>
</html>